﻿############################################
#                                          #
#    Broadcom Firmware Tool V1.0 Beta 1    #
#      by mrmt32 (mrmt32@gmail.com)        #
#         http://www.ph-mb.com             #
#                                          #
############################################

======
Disclamer
======
Only use this tool if you know what you are doing! By making the wrong changes to a firmware you can cause your router
to stop booting and in some cases the only way to restore it would be to use JTAG!

=====
What this tool can do
=====
@ Extract and replace the bootloader, filesystem and kernel from router firmwares.
@ Extract the root filesystem from a firmware image to a folder on your computer.
@ Convert between various firmware image types.
@ Change various firmware image parameters (including the target router, allowing you to flash images not originaly 
  intended for your router.
@ Allows you to flash a standard netgear firmware to a Sky branded DG834GT using the web interface.
  
=====
What this tool can't do
=====
@ Recompress a folder into a SquashFS filesystem image (there doesn't seem to be a reliable way of doing this in windows).
  You can however create the image in linux and insert this into a firmware.

=====
Supported Routers / Firmware types
=====
@ Broadcom-based Netgear router images (.img files for DG834GT, DG834PN etc.)
@ Broadcom-based Sagem F@ST images (including images for the Sky branded Sagem F@ST)
@ 'Standard' broadcom images (as accepted by the Broadcom CFE)

=====
How to flash a standard Netgear firmware to a sky branded DG834GT using the web interface
=====
1. Open the firmware in Broadcom Firmware Tool
2. Click on the "Netgear/Sercomm" tab
3. Edit the "Target Platform" box so it reads "DG834GT-1SKUKS" (without quotes)
4. Edit the "Version ID" box so it reads "5713" (without quotes)
5. Click "Save As"
6. Select "Netgear Firmware Image (*.img)" as the save as type and save the file somewhere
7. Use the netgear web interface to upgrade using the firmware image you just saved;
   you should no longer get an error telling you it is the wrong firmware.
   
=====
Credits
=====
@ SquashFS filesystem extraction is provided by a ported version of a linux tool I found, the source was taken from
  http://svn.gna.org/svn/openbox4/trunk/tools/nb4-unsquash/.
@ Cygwin was used to port the above tool to windows